﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace DesertEagleQuest
{
    /// <summary>
    /// Class holds all the settings used to tweak the non-photorealistic rendering.
    /// </summary>
    public class NonPhotoRealisticSettings
    {
        #region Fields

        // Name of a preset setting, for display to the user.
        public readonly string Name;

        // Is the cartoon lighting shader enabled?
        public readonly bool EnableToonShading;

        // Settings for the edge detect filter.
        public readonly bool EnableEdgeDetect;
        public readonly float EdgeWidth;
        public readonly float EdgeIntensity;

        #endregion


        /// <summary>
        /// Constructs a new non-photorealistic settings descriptor.
        /// </summary>
        public NonPhotoRealisticSettings(string name, bool enableToonShading,
                                         bool enableEdgeDetect,
                                         float edgeWidth, float edgeIntensity)
                                        
        {
            Name = name;
            EnableToonShading = enableToonShading;
            EnableEdgeDetect = enableEdgeDetect;
            EdgeWidth = edgeWidth;
            EdgeIntensity = edgeIntensity;
            
            
        }


        /// <summary>
        /// Table of preset settings, used by the sample program.
        /// </summary>
        public static NonPhotoRealisticSettings[] PresetSettings =
        {
            new NonPhotoRealisticSettings("Cartoon", true,
                                          true, 1, 1
                                          ),

        };
    }
}
